package 综合应用.T6;

import java.util.ArrayList;
import java.util.List;

public class Classes {

    private String classID;
    private String classname;
    private String teacher;
    private String assistant;
    private String instructor;

    private List<Student>studentList = new ArrayList<>();

    @Override
    public String toString() {
        return "Classes{" +
                "classID='" + classID + '\'' +
                ", classname='" + classname + '\'' +
                ", teacher='" + teacher + '\'' +
                ", assistant='" + assistant + '\'' +
                ", instructor='" + instructor + '\'' +
                ", studentList=" + studentList +
                '}';
    }

    public String getClassID() {
        return classID;
    }

    public void setClassID(String classID) {
        this.classID = classID;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getAssistant() {
        return assistant;
    }

    public void setAssistant(String assistant) {
        this.assistant = assistant;
    }

    public String getInstructor() {
        return instructor;
    }

    public void setInstructor(String instructor) {
        this.instructor = instructor;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public Classes(String classID, String classname, String teacher, String assistant, String instructor, List<Student> studentList) {
        this.classID = classID;
        this.classname = classname;
        this.teacher = teacher;
        this.assistant = assistant;
        this.instructor = instructor;
        this.studentList = studentList;
    }

    public Classes(String classID, String classname, String teacher, String assistant, String instructor) {
        this.classID = classID;
        this.classname = classname;
        this.teacher = teacher;
        this.assistant = assistant;
        this.instructor = instructor;
    }

    public Classes() {
    }
}
